//
// Created by linrui on 2022/3/22.
//
#include<iostream>
using namespace std;
void show(string * &p){
    p=new string[10];
    int i;
    for(i=0;i<10;i++){
        p[i]="string"+to_string(i);
        cout <<"[" << p[i]<<"]";
    }
    cout <<endl;
}
int main(){
    string* a;
    show(a);
    cout << a[7]<<endl;
}